package com.bluegalaxy.sitescore.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.bluegalaxy.sitescore.entity.TbSiteInfo;
import com.baomidou.framework.service.ISuperService;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 * TbSiteInfo 表数据服务层接口
 *
 */
public interface ITbSiteInfoService extends ISuperService<TbSiteInfo> {

    public Page<TbSiteInfo> getSiteInfoList(Page<TbSiteInfo> page,String province,String city);

    public Page<TbSiteInfo> getSiteInfoListByIdAndName(Page<TbSiteInfo> page,String province,String city,String id,String name);

    public Page<TbSiteInfo> getSiteInfoByIdAndName(Page<TbSiteInfo> page,String id,String name);

    public Page<TbSiteInfo> getSiteInfoListAll(Page<TbSiteInfo> page);

    public Page<TbSiteInfo> getSiteInfoExamine(Page<TbSiteInfo> page);

    public TbSiteInfo getSiteInfoById(Long siteId);

    public List<TbSiteInfo> getSiteInfoAll();

    public void deleteSiteInfoById(Long siteId);

    public void updateSiteInfoExamine(Long siteId);

    public boolean updateSiteInfo(TbSiteInfo tbSiteInfo);

    public boolean updateSiteInfoScore(int siteId, BigDecimal score);

    public boolean examineSiteInfoById(int id,String idea,boolean flag);
}